/**
 * 
 */
package com.jbarreto;

import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

/**
 * @author 814168
 *
 */
public class SpringHelloWorldTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		XmlBeanFactory beanFactory =  new XmlBeanFactory(new ClassPathResource("Spring3.xml"));

		SpringHelloWorld myBean = (SpringHelloWorld) beanFactory

		.getBean("SpringHelloWorldBean");

		myBean.sayHello();
	}

}
